package root.electronclass.electronclass.mvp.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName TODO
 * @Description TODO
 * @Author caofc
 * @Date 2023/3/16 16:59
 */
public class IdeaBox implements Serializable {
    private String createTime;//	编辑时间	string
    private int dateType;//	integer
    private Integer departId;//	integer
    private String endDate;// 截止日期	string
    private String id;// integer
    private int[] ids;// array	integer
    private String name;// string
    private String remark;// 主题描述	string
    private Long schoolId;//	integer
    private Integer status;// 1征求中2已结束	integer
    private Integer type;// 主题类型：1校园生活 2校园管理 3校园课程 4校园活动 5校园消费 6其他	integer
    private int pageNum;
    private int pageSize = 20;
    private String created;
    private String picture;
    private List<PicDto> pictureFormat;

    public void setDepartId(Integer departId) {
        this.departId = departId;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<PicDto> getPictureFormat() {
        return pictureFormat;
    }

    public void setPictureFormat(List<PicDto> pictureFormat) {
        this.pictureFormat = pictureFormat;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getDateType() {
        return dateType;
    }

    public void setDateType(int dateType) {
        this.dateType = dateType;
    }

    public int getDepartId() {
        return departId;
    }

    public void setDepartId(int departId) {
        this.departId = departId;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getId() {
        return id;
    }

    public int[] getIds() {
        return ids;
    }

    public void setIds(int[] ids) {
        this.ids = ids;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getSchoolId() {
        return schoolId;
    }


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getType() {
        switch (type){
            case 1:
                return "校园生活";
            case 2:
                return "校园管理";
            case 3:
                return "校园课程";
            case 4:
                return "校园活动";
            case 5:
                return "校园消费";
            default:
                return "其他";
        }
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
